import request from '@/utils/request'

export const list = data => request.get('/app/v1_1/articles', { params: data })

export const getArticle = data => request.get('/app/v1_0/articles/' + data)

// 文章评论

export const commentList = data => request.get('/app/v1_0/comments', { params: data })

// import { requisition } from '@/utils/request'

// export const list = data => requisition.get('/v1_1/articles', { params: data })

// export const getArticle = data => requisition.get('/v1_0/articles/' + data)
